const config = {

    // 系统名称
    APP_NAME: import.meta.env.VITE_APP_NAME,

    // 系统版本
    APP_VERSION: "0.0.0",

    // 系统布局
    // 默认：default | 通栏：fence | 经典：classics | 功能坞：dock
    // dock 将关闭标签和面包屑栏
    APP_LAYOUT: 'default',

    // 系统语言
    APP_LANG: 'zh-cn',

    // 系统主题色
    APP_COLOR: '',

    // 菜单是否折叠
    MENU_IS_COLLAPSE: 'N',

    // 菜单是否启用手风琴效果
    MENU_UNIQUE_OPENED: 'Y',

    // 是否开启多标签
    LAYOUT_TAGS: "Y",

    // 是否开启多标签
    TAGS_RADIUS: "N",

    // 是否开启多标签缓存
    LAYOUT_SAVE_TAGS: "N",

    // 首页地址
    DASHBOARD_URL: "/dashboard",

    // 首页组件
    DASHBOARD_COMPONENT: "home",

    // 接口前缀
    API_PREFIX: process.env.NODE_ENV === "production" ? "/prod-api" : "/dev-api",

    // 请求超时
    API_TIMEOUT: 10000,

    // TokenName
    API_TOKEN_NAME: "Authorization",

    // socket 用户信息
    SOCKET_USER_INFO: "userInfo",

    // socket 用户ID
    SOCKET_USER_ID: "userId",

    // Token前缀，注意最后有个空格，如不需要需设置空字符串
    // TOKEN_PREFIX: "Bearer ",
    API_TOKEN_PREFIX: "",

    // 追加其他头
    API_HEADERS: {},

    // 请求是否开启缓存
    API_IS_REQUEST_CACHE: false,

    // 是否加密 localStorage, 为空不加密，可填写AES(模式ECB,移位Pkcs7)加密
    LOCAL_STORAGE_ENCRYPT: '',

    // localStorageAES加密秘钥，位数建议填写8的倍数
    LOCAL_STORAGE_ENCRYPT_KEY: '2XNN4K8LC0ELVWN4',

    // RSA 加解密公钥
    RSA_PUBLIC_KEY: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArDLzlSlUt+QBOkR+uRChwlFJnQbiJNLQOoo/hRj7xrOKolFP+8xCZoNmYwxkp3NzFHCHBH5ZYtUSowZfTEn1JC/F1wBFkkusi3pBs17RFwkPpDlHSr1I8Nx16BCZES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cqFN6onI7MEX1AT9sxKfM3gWA6AQr1J7kljWR+5A6TE1gdkHQWNE0fAQU4N3NG1JFdWUzFi/5o9OzZEfoyPbpCwwKBgQDlQKZWNcCJpSGt7rS3PadH9jPF3cicK/Y6GtavfqKjQkO1b5f16cvuovHk3Nf13ZvbDZ6DhDayG7Ca2J1HM5mgEQS5cD/FgrvEE+Oec/Q1RLOqdqBTTiesxTKnXccyDx20TYA4sY/SfA5OQOUO2628kwEq/YbZAm62P3HhuSIPJwKBgAShRNvfTYK+ccd2uc2H/fv05tNcH7fLnop4TSunone5bgUvteuqt4qIUn7kSg8T+xFOLrvkDRM5RUWbKJVwjH385qeUrXOIcEWeJp72bZ7GhLSg1cy1WiXnU6Yig59S9eowUjs+oyS994w0+ZeZAq8GuWyARG3uh81qO2X+Sn/VAoGBAKIqrD85gLwdYoid3Zntc+J0p0TlUN4gPun1SD4WD0f7PNggW1cqDgb9nqztB5s1KuW2aZXQtbwh2DiA2CiguKBAyZ2/aGz3wIjAJPhWP75andkMVvb2xxvw1pcLwDeJ99IuLHBuMjWLabczMpTjEq/dMStO8c+aZ+RlVtJ8WjprAoGAHU0QkKut3SjdgDdD6M0gaiTwfhMAAEVJxAChDGWd2a6IVO9QW+O3R64n/3yNrf6gSR2ipMsQ86SO/eekD1wjscXjRJW8xsFPw9xob/7C3EjGZ3XmZNmiJQnL5GYCyStF+BwEREHeBlPTOnk4/pKm1F+YCEE+0mOHluEF9Gqu1WI=",

    // 控制元素是否可见的对象
    ELEMENT_VISIBLE: {
        // 顶部搜索按钮是否可见
        BAR_SEARCH_VISIBLE: true,

        // 顶部全屏按钮是否可见
        BAR_SCREEN_VISIBLE: true,

        // 顶部任务按钮是否可见
        BAR_TASK_VISIBLE: true,

        // 顶部消息按钮是否可见
        BAR_MESSAGE_VISIBLE: true,

        // 顶部设置按钮是否可见
        BAR_SETTING_VISIBLE: true,

        // 顶部设置按钮的显示位置 BAR | LAYOUT （bar.vue中 | layout.vue中）
        BAR_SETTING_POSITION: "BAR",

        // 登录页面是否显示手机号登录
        SHOW_PHONE_LOGIN_AUTH: false,

        // 登录页面是否显示第三方授权登录
        MY_SHOW_LOGIN_OAUTH: false,

        // 登录页面是否显示重置密码功能
        SHOW_RESET_PASSWORD: false,

        // 登录页面是否显示用户注册功能
        SHOW_USER_REGISTER: false,

    },

}

export default config;
